#工作三天休息一天
def dayday (dy):
    dayup = 1
    for i in range (365):
        if i % 7 in [1,2,3]:
            dayup = dayup * 1
        else:
            dayup = dayup * (1+ dy)
    return dayup
dayfactor = 0.01
while dayday (dayfactor) < 37.78:
    dayfactor += 0.001
print ("工作日的努力参数是：{:.2f}".format (dayfactor))